package com.lottery.material.service.portal.circle.impl;

import com.lottery.material.dao.circle.CircleNoticeInfoMapper;
import com.lottery.material.pojo.circle.CircleNoticeInfo;
import com.lottery.material.service.portal.circle.CircleNoticeInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 肖拔赟
 * @Description 圈子公告
 * @DATE Created on 2019-04-22 17:02
 */

@Service
public class CircleNoticeInfoServiceImpl implements CircleNoticeInfoService {

    @Autowired
    private CircleNoticeInfoMapper circleNoticeInfoMapper;

    /**
     * @Author 肖拔赟
     * @Description 根据圈子Id获取公告
     * @Date Created on 2019-04-22 17:15
     */
    @Override
    public List<CircleNoticeInfo> findByCircleId(String circleId) {
        return circleNoticeInfoMapper.findByCircleId(circleId);
    }
}
